package com.ibiaoke.customer.service;

import com.ibiaoke.customer.entity.TradeRecorder;

import java.math.BigDecimal;
import java.text.ParseException;

public interface TradeRecorderService {
    TradeRecorder createTradeRecorder(Integer customerId, Integer payType, BigDecimal money, Integer tradeType);

    int depositChargeSuccess(String tradeNo, Integer payType, String transactionNo) throws ParseException;

    String generateTradeNo();
}
